Attributes Common to All Widgets

All widgets are cells elements. See cells attributes.

The following attributes are specific to widgets:

Name Value Type Default Value Description Comment V. Exp.

opacity

percentage

100%

Opacity of the widget.

0% is totally transparent, 100% is opaque

1.1

1.2

visible

boolean

true

Show/hide the widget, does not impact the layout, as opposed to the cell's display attribute.


1.6

1.6

cursor

Cursor path

System Default

Cursor to display when the mouse is over the active part of the widget.

This property works only for mouse sensitive (aka non-passive) widgets.

1.0

No

mouse_sensitive

boolean

Depending on widget

Enables or disables mouse control on widgets.

Warning: for advanced users only.

Do not use this property that is set according to widget type, except if you really want to force mouse sensitivity (to enable cursor change etc.)

1.0

No

auto_focus

boolean

Depending on widget, usually 'true' for mouse_sensitive widgets

Enables or disables auto focus

When enabled, a widget gets focus when the mouse is over it (you do not need to click on it). When a widget has focus it receives the keyboard events.

auto_focus works for mouse_sensitive widgets.

1.0

No

anti_flicker

boolean

Depends on widget

Enables or disables anti-flicker.

Warning: for advanced users only. System widgets only.

You can use this value if your skin contains multiple overlapped widgets which do not use anti_flicker by default (typically image_group_box). You may also want to disable anti_flicker to reduce memory consumption.

1.0

No

offscreen_type

'none','memory' or 'card'

Depends on widget

Chooses offscreen type for double buffering.

Warning: for advanced users only. System widgets and Windows only (not available on Mac).

1.3

No